﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Fan.Dongping.Ali.DataAccess;

namespace dotnethelloworld.Note
{
    public partial class MyNotes : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable notes = NoteDA.Instance.GetNotes(this.User.Identity.Name);
            ListView1.DataSource = notes;
            ListView1.DataBind();

        }
    }
}
